const ZSM = '/apizsm/';
const SOU = '/apisou/';
const BC = '/apibc/';
const SM = '/apism/';
const SS = '/apiss/';

export default {
  proxy: {
    [ZSM]: {
      target: 'https://zsm.sousoushenbian.com/',
      changeOrigin: true,
      pathRewrite: {
        [ZSM]: '',
      },
    },
    [SOU]: {
      target: 'https://test.sousoushenbian.com/',
      changeOrigin: true,
      pathRewrite: {
        [SOU]: '',
      },
    },
    [BC]: {
      target: 'https://testbc.sousoushenbian.com/',
      changeOrigin: true,
      pathRewrite: {
        [BC]: '',
      },
    },
    [SM]: {
      target: 'https://service.sousoushenghuo.com/',
      changeOrigin: true,
      pathRewrite: {
        [SM]: '',
      },
    },
    [SS]: {
      target: 'https://test.shangshangkeji.com/',
      changeOrigin: true,
      pathRewrite: {
        [SS]: '',
      },
    },
  },
};
